	<?php $this->load->view('admin/partials/general_menu'); ?>
	<?php 
		$ci= &get_instance();
		$sport_array = $ci->sport_entity->getArrayListOfSport();
	?>
	
	<div class="clrboth"></div>
	
	<h3>Sport</h3>
	<?php 
		//$buttons = array('buttons'=>array('Add#add_sport();') );
	?>
	<?php 
		//$this->load->view('admin/partials/buttons', $buttons ); 
	?>
	
	<div class="clrboth"></div>
	
	<table border="0" class="table-list">
		<thead>
			<tr>
				<th>Sport</th>
				<th><?php echo lang('dataman.manage'); ?></th>
			</tr>
		</thead>
		
		<tbody>
			<?php foreach( $sport_array as $item ): ?>
			<?php 
				$SPORT = $ci->sport_entity->init('id',$item->id);
			?>
			<tr>
				<td><?php echo $SPORT->getName(); ?></td>
				<td>
					<a href="javascript:void(0);" onclick="sport_edit(<?php echo $SPORT->getId();?>)"><?php echo lang('dataman.edit');?></a>
				<!--	&nbsp;|&nbsp;
					<a href="javascript:void(0);" onclick="sport_delete(<?php echo $SPORT->getId();?>)" ><?php echo lang('dataman.delete');?></a>
				-->
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>


